package com.gree.service.imp;

import com.gree.dao.CmnC006UserDao;
import com.gree.entity.CmnC006User;
import com.gree.service.ICmnC006UserService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CmnC006UserServiceImpl implements ICmnC006UserService {
	@Autowired
	private CmnC006UserDao cmnC006UserDao;

	public CmnC006UserDao getCmnC006UserDao() {
		return cmnC006UserDao;
	}

	public void setCmnC006UserDao(CmnC006UserDao cmnC006UserDao) {
		this.cmnC006UserDao = cmnC006UserDao;
	}

	@Override
	public CmnC006User getUserByObj(CmnC006User obj) {
		return cmnC006UserDao.selectCmnC006UserByObj(obj);
	}

	@Override
	public Integer updateNonEmptyCmnC006UserById(CmnC006User enti) {

		return cmnC006UserDao.updateNonEmptyCmnC006UserById(enti);
	}

}